package com.desksoft.ecommerce.entity.logistics.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VipcardextExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public VipcardextExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCardnoIsNull() {
            addCriterion("CardNo is null");
            return (Criteria) this;
        }

        public Criteria andCardnoIsNotNull() {
            addCriterion("CardNo is not null");
            return (Criteria) this;
        }

        public Criteria andCardnoEqualTo(String value) {
            addCriterion("CardNo =", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoNotEqualTo(String value) {
            addCriterion("CardNo <>", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoGreaterThan(String value) {
            addCriterion("CardNo >", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoGreaterThanOrEqualTo(String value) {
            addCriterion("CardNo >=", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoLessThan(String value) {
            addCriterion("CardNo <", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoLessThanOrEqualTo(String value) {
            addCriterion("CardNo <=", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoLike(String value) {
            addCriterion("CardNo like", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoNotLike(String value) {
            addCriterion("CardNo not like", value, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoIn(List<String> values) {
            addCriterion("CardNo in", values, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoNotIn(List<String> values) {
            addCriterion("CardNo not in", values, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoBetween(String value1, String value2) {
            addCriterion("CardNo between", value1, value2, "cardno");
            return (Criteria) this;
        }

        public Criteria andCardnoNotBetween(String value1, String value2) {
            addCriterion("CardNo not between", value1, value2, "cardno");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeIsNull() {
            addCriterion("WebLastShopTime is null");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeIsNotNull() {
            addCriterion("WebLastShopTime is not null");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeEqualTo(Date value) {
            addCriterion("WebLastShopTime =", value, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeNotEqualTo(Date value) {
            addCriterion("WebLastShopTime <>", value, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeGreaterThan(Date value) {
            addCriterion("WebLastShopTime >", value, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeGreaterThanOrEqualTo(Date value) {
            addCriterion("WebLastShopTime >=", value, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeLessThan(Date value) {
            addCriterion("WebLastShopTime <", value, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeLessThanOrEqualTo(Date value) {
            addCriterion("WebLastShopTime <=", value, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeIn(List<Date> values) {
            addCriterion("WebLastShopTime in", values, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeNotIn(List<Date> values) {
            addCriterion("WebLastShopTime not in", values, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeBetween(Date value1, Date value2) {
            addCriterion("WebLastShopTime between", value1, value2, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWeblastshoptimeNotBetween(Date value1, Date value2) {
            addCriterion("WebLastShopTime not between", value1, value2, "weblastshoptime");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesIsNull() {
            addCriterion("WebShopTimes is null");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesIsNotNull() {
            addCriterion("WebShopTimes is not null");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesEqualTo(Integer value) {
            addCriterion("WebShopTimes =", value, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesNotEqualTo(Integer value) {
            addCriterion("WebShopTimes <>", value, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesGreaterThan(Integer value) {
            addCriterion("WebShopTimes >", value, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("WebShopTimes >=", value, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesLessThan(Integer value) {
            addCriterion("WebShopTimes <", value, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesLessThanOrEqualTo(Integer value) {
            addCriterion("WebShopTimes <=", value, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesIn(List<Integer> values) {
            addCriterion("WebShopTimes in", values, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesNotIn(List<Integer> values) {
            addCriterion("WebShopTimes not in", values, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesBetween(Integer value1, Integer value2) {
            addCriterion("WebShopTimes between", value1, value2, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebshoptimesNotBetween(Integer value1, Integer value2) {
            addCriterion("WebShopTimes not between", value1, value2, "webshoptimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesIsNull() {
            addCriterion("WebSucceedTimes is null");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesIsNotNull() {
            addCriterion("WebSucceedTimes is not null");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesEqualTo(Integer value) {
            addCriterion("WebSucceedTimes =", value, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesNotEqualTo(Integer value) {
            addCriterion("WebSucceedTimes <>", value, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesGreaterThan(Integer value) {
            addCriterion("WebSucceedTimes >", value, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("WebSucceedTimes >=", value, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesLessThan(Integer value) {
            addCriterion("WebSucceedTimes <", value, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesLessThanOrEqualTo(Integer value) {
            addCriterion("WebSucceedTimes <=", value, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesIn(List<Integer> values) {
            addCriterion("WebSucceedTimes in", values, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesNotIn(List<Integer> values) {
            addCriterion("WebSucceedTimes not in", values, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesBetween(Integer value1, Integer value2) {
            addCriterion("WebSucceedTimes between", value1, value2, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebsucceedtimesNotBetween(Integer value1, Integer value2) {
            addCriterion("WebSucceedTimes not between", value1, value2, "websucceedtimes");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleIsNull() {
            addCriterion("WebTotalSale is null");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleIsNotNull() {
            addCriterion("WebTotalSale is not null");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleEqualTo(BigDecimal value) {
            addCriterion("WebTotalSale =", value, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleNotEqualTo(BigDecimal value) {
            addCriterion("WebTotalSale <>", value, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleGreaterThan(BigDecimal value) {
            addCriterion("WebTotalSale >", value, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("WebTotalSale >=", value, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleLessThan(BigDecimal value) {
            addCriterion("WebTotalSale <", value, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleLessThanOrEqualTo(BigDecimal value) {
            addCriterion("WebTotalSale <=", value, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleIn(List<BigDecimal> values) {
            addCriterion("WebTotalSale in", values, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleNotIn(List<BigDecimal> values) {
            addCriterion("WebTotalSale not in", values, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WebTotalSale between", value1, value2, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andWebtotalsaleNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WebTotalSale not between", value1, value2, "webtotalsale");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtIsNull() {
            addCriterion("MaxWebBillAmt is null");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtIsNotNull() {
            addCriterion("MaxWebBillAmt is not null");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtEqualTo(BigDecimal value) {
            addCriterion("MaxWebBillAmt =", value, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtNotEqualTo(BigDecimal value) {
            addCriterion("MaxWebBillAmt <>", value, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtGreaterThan(BigDecimal value) {
            addCriterion("MaxWebBillAmt >", value, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MaxWebBillAmt >=", value, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtLessThan(BigDecimal value) {
            addCriterion("MaxWebBillAmt <", value, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MaxWebBillAmt <=", value, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtIn(List<BigDecimal> values) {
            addCriterion("MaxWebBillAmt in", values, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtNotIn(List<BigDecimal> values) {
            addCriterion("MaxWebBillAmt not in", values, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MaxWebBillAmt between", value1, value2, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxwebbillamtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MaxWebBillAmt not between", value1, value2, "maxwebbillamt");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeIsNull() {
            addCriterion("TelLastShopTime is null");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeIsNotNull() {
            addCriterion("TelLastShopTime is not null");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeEqualTo(Date value) {
            addCriterion("TelLastShopTime =", value, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeNotEqualTo(Date value) {
            addCriterion("TelLastShopTime <>", value, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeGreaterThan(Date value) {
            addCriterion("TelLastShopTime >", value, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TelLastShopTime >=", value, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeLessThan(Date value) {
            addCriterion("TelLastShopTime <", value, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeLessThanOrEqualTo(Date value) {
            addCriterion("TelLastShopTime <=", value, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeIn(List<Date> values) {
            addCriterion("TelLastShopTime in", values, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeNotIn(List<Date> values) {
            addCriterion("TelLastShopTime not in", values, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeBetween(Date value1, Date value2) {
            addCriterion("TelLastShopTime between", value1, value2, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTellastshoptimeNotBetween(Date value1, Date value2) {
            addCriterion("TelLastShopTime not between", value1, value2, "tellastshoptime");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesIsNull() {
            addCriterion("TelShopTimes is null");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesIsNotNull() {
            addCriterion("TelShopTimes is not null");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesEqualTo(Integer value) {
            addCriterion("TelShopTimes =", value, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesNotEqualTo(Integer value) {
            addCriterion("TelShopTimes <>", value, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesGreaterThan(Integer value) {
            addCriterion("TelShopTimes >", value, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("TelShopTimes >=", value, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesLessThan(Integer value) {
            addCriterion("TelShopTimes <", value, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesLessThanOrEqualTo(Integer value) {
            addCriterion("TelShopTimes <=", value, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesIn(List<Integer> values) {
            addCriterion("TelShopTimes in", values, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesNotIn(List<Integer> values) {
            addCriterion("TelShopTimes not in", values, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesBetween(Integer value1, Integer value2) {
            addCriterion("TelShopTimes between", value1, value2, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelshoptimesNotBetween(Integer value1, Integer value2) {
            addCriterion("TelShopTimes not between", value1, value2, "telshoptimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesIsNull() {
            addCriterion("TelSucceedTimes is null");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesIsNotNull() {
            addCriterion("TelSucceedTimes is not null");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesEqualTo(Integer value) {
            addCriterion("TelSucceedTimes =", value, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesNotEqualTo(Integer value) {
            addCriterion("TelSucceedTimes <>", value, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesGreaterThan(Integer value) {
            addCriterion("TelSucceedTimes >", value, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("TelSucceedTimes >=", value, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesLessThan(Integer value) {
            addCriterion("TelSucceedTimes <", value, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesLessThanOrEqualTo(Integer value) {
            addCriterion("TelSucceedTimes <=", value, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesIn(List<Integer> values) {
            addCriterion("TelSucceedTimes in", values, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesNotIn(List<Integer> values) {
            addCriterion("TelSucceedTimes not in", values, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesBetween(Integer value1, Integer value2) {
            addCriterion("TelSucceedTimes between", value1, value2, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTelsucceedtimesNotBetween(Integer value1, Integer value2) {
            addCriterion("TelSucceedTimes not between", value1, value2, "telsucceedtimes");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleIsNull() {
            addCriterion("TelTotalSale is null");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleIsNotNull() {
            addCriterion("TelTotalSale is not null");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleEqualTo(BigDecimal value) {
            addCriterion("TelTotalSale =", value, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleNotEqualTo(BigDecimal value) {
            addCriterion("TelTotalSale <>", value, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleGreaterThan(BigDecimal value) {
            addCriterion("TelTotalSale >", value, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TelTotalSale >=", value, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleLessThan(BigDecimal value) {
            addCriterion("TelTotalSale <", value, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TelTotalSale <=", value, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleIn(List<BigDecimal> values) {
            addCriterion("TelTotalSale in", values, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleNotIn(List<BigDecimal> values) {
            addCriterion("TelTotalSale not in", values, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TelTotalSale between", value1, value2, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andTeltotalsaleNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TelTotalSale not between", value1, value2, "teltotalsale");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtIsNull() {
            addCriterion("MaxTelBillAmt is null");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtIsNotNull() {
            addCriterion("MaxTelBillAmt is not null");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtEqualTo(BigDecimal value) {
            addCriterion("MaxTelBillAmt =", value, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtNotEqualTo(BigDecimal value) {
            addCriterion("MaxTelBillAmt <>", value, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtGreaterThan(BigDecimal value) {
            addCriterion("MaxTelBillAmt >", value, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MaxTelBillAmt >=", value, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtLessThan(BigDecimal value) {
            addCriterion("MaxTelBillAmt <", value, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MaxTelBillAmt <=", value, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtIn(List<BigDecimal> values) {
            addCriterion("MaxTelBillAmt in", values, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtNotIn(List<BigDecimal> values) {
            addCriterion("MaxTelBillAmt not in", values, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MaxTelBillAmt between", value1, value2, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andMaxtelbillamtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MaxTelBillAmt not between", value1, value2, "maxtelbillamt");
            return (Criteria) this;
        }

        public Criteria andCheckpointsIsNull() {
            addCriterion("CheckPoints is null");
            return (Criteria) this;
        }

        public Criteria andCheckpointsIsNotNull() {
            addCriterion("CheckPoints is not null");
            return (Criteria) this;
        }

        public Criteria andCheckpointsEqualTo(BigDecimal value) {
            addCriterion("CheckPoints =", value, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsNotEqualTo(BigDecimal value) {
            addCriterion("CheckPoints <>", value, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsGreaterThan(BigDecimal value) {
            addCriterion("CheckPoints >", value, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CheckPoints >=", value, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsLessThan(BigDecimal value) {
            addCriterion("CheckPoints <", value, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CheckPoints <=", value, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsIn(List<BigDecimal> values) {
            addCriterion("CheckPoints in", values, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsNotIn(List<BigDecimal> values) {
            addCriterion("CheckPoints not in", values, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CheckPoints between", value1, value2, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andCheckpointsNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CheckPoints not between", value1, value2, "checkpoints");
            return (Criteria) this;
        }

        public Criteria andUpgradedateIsNull() {
            addCriterion("UpgradeDate is null");
            return (Criteria) this;
        }

        public Criteria andUpgradedateIsNotNull() {
            addCriterion("UpgradeDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpgradedateEqualTo(Date value) {
            addCriterion("UpgradeDate =", value, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateNotEqualTo(Date value) {
            addCriterion("UpgradeDate <>", value, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateGreaterThan(Date value) {
            addCriterion("UpgradeDate >", value, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateGreaterThanOrEqualTo(Date value) {
            addCriterion("UpgradeDate >=", value, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateLessThan(Date value) {
            addCriterion("UpgradeDate <", value, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateLessThanOrEqualTo(Date value) {
            addCriterion("UpgradeDate <=", value, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateIn(List<Date> values) {
            addCriterion("UpgradeDate in", values, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateNotIn(List<Date> values) {
            addCriterion("UpgradeDate not in", values, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateBetween(Date value1, Date value2) {
            addCriterion("UpgradeDate between", value1, value2, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradedateNotBetween(Date value1, Date value2) {
            addCriterion("UpgradeDate not between", value1, value2, "upgradedate");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeIsNull() {
            addCriterion("UpgradeType is null");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeIsNotNull() {
            addCriterion("UpgradeType is not null");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeEqualTo(String value) {
            addCriterion("UpgradeType =", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeNotEqualTo(String value) {
            addCriterion("UpgradeType <>", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeGreaterThan(String value) {
            addCriterion("UpgradeType >", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeGreaterThanOrEqualTo(String value) {
            addCriterion("UpgradeType >=", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeLessThan(String value) {
            addCriterion("UpgradeType <", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeLessThanOrEqualTo(String value) {
            addCriterion("UpgradeType <=", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeLike(String value) {
            addCriterion("UpgradeType like", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeNotLike(String value) {
            addCriterion("UpgradeType not like", value, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeIn(List<String> values) {
            addCriterion("UpgradeType in", values, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeNotIn(List<String> values) {
            addCriterion("UpgradeType not in", values, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeBetween(String value1, String value2) {
            addCriterion("UpgradeType between", value1, value2, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andUpgradetypeNotBetween(String value1, String value2) {
            addCriterion("UpgradeType not between", value1, value2, "upgradetype");
            return (Criteria) this;
        }

        public Criteria andNextclassIsNull() {
            addCriterion("NextClass is null");
            return (Criteria) this;
        }

        public Criteria andNextclassIsNotNull() {
            addCriterion("NextClass is not null");
            return (Criteria) this;
        }

        public Criteria andNextclassEqualTo(String value) {
            addCriterion("NextClass =", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassNotEqualTo(String value) {
            addCriterion("NextClass <>", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassGreaterThan(String value) {
            addCriterion("NextClass >", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassGreaterThanOrEqualTo(String value) {
            addCriterion("NextClass >=", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassLessThan(String value) {
            addCriterion("NextClass <", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassLessThanOrEqualTo(String value) {
            addCriterion("NextClass <=", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassLike(String value) {
            addCriterion("NextClass like", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassNotLike(String value) {
            addCriterion("NextClass not like", value, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassIn(List<String> values) {
            addCriterion("NextClass in", values, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassNotIn(List<String> values) {
            addCriterion("NextClass not in", values, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassBetween(String value1, String value2) {
            addCriterion("NextClass between", value1, value2, "nextclass");
            return (Criteria) this;
        }

        public Criteria andNextclassNotBetween(String value1, String value2) {
            addCriterion("NextClass not between", value1, value2, "nextclass");
            return (Criteria) this;
        }

        public Criteria andAttendantIsNull() {
            addCriterion("Attendant is null");
            return (Criteria) this;
        }

        public Criteria andAttendantIsNotNull() {
            addCriterion("Attendant is not null");
            return (Criteria) this;
        }

        public Criteria andAttendantEqualTo(String value) {
            addCriterion("Attendant =", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantNotEqualTo(String value) {
            addCriterion("Attendant <>", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantGreaterThan(String value) {
            addCriterion("Attendant >", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantGreaterThanOrEqualTo(String value) {
            addCriterion("Attendant >=", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantLessThan(String value) {
            addCriterion("Attendant <", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantLessThanOrEqualTo(String value) {
            addCriterion("Attendant <=", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantLike(String value) {
            addCriterion("Attendant like", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantNotLike(String value) {
            addCriterion("Attendant not like", value, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantIn(List<String> values) {
            addCriterion("Attendant in", values, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantNotIn(List<String> values) {
            addCriterion("Attendant not in", values, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantBetween(String value1, String value2) {
            addCriterion("Attendant between", value1, value2, "attendant");
            return (Criteria) this;
        }

        public Criteria andAttendantNotBetween(String value1, String value2) {
            addCriterion("Attendant not between", value1, value2, "attendant");
            return (Criteria) this;
        }

        public Criteria andDividedateIsNull() {
            addCriterion("DivideDate is null");
            return (Criteria) this;
        }

        public Criteria andDividedateIsNotNull() {
            addCriterion("DivideDate is not null");
            return (Criteria) this;
        }

        public Criteria andDividedateEqualTo(Date value) {
            addCriterion("DivideDate =", value, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateNotEqualTo(Date value) {
            addCriterion("DivideDate <>", value, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateGreaterThan(Date value) {
            addCriterion("DivideDate >", value, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateGreaterThanOrEqualTo(Date value) {
            addCriterion("DivideDate >=", value, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateLessThan(Date value) {
            addCriterion("DivideDate <", value, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateLessThanOrEqualTo(Date value) {
            addCriterion("DivideDate <=", value, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateIn(List<Date> values) {
            addCriterion("DivideDate in", values, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateNotIn(List<Date> values) {
            addCriterion("DivideDate not in", values, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateBetween(Date value1, Date value2) {
            addCriterion("DivideDate between", value1, value2, "dividedate");
            return (Criteria) this;
        }

        public Criteria andDividedateNotBetween(Date value1, Date value2) {
            addCriterion("DivideDate not between", value1, value2, "dividedate");
            return (Criteria) this;
        }

        public Criteria andValiddateIsNull() {
            addCriterion("ValidDate is null");
            return (Criteria) this;
        }

        public Criteria andValiddateIsNotNull() {
            addCriterion("ValidDate is not null");
            return (Criteria) this;
        }

        public Criteria andValiddateEqualTo(Date value) {
            addCriterion("ValidDate =", value, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateNotEqualTo(Date value) {
            addCriterion("ValidDate <>", value, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateGreaterThan(Date value) {
            addCriterion("ValidDate >", value, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateGreaterThanOrEqualTo(Date value) {
            addCriterion("ValidDate >=", value, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateLessThan(Date value) {
            addCriterion("ValidDate <", value, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateLessThanOrEqualTo(Date value) {
            addCriterion("ValidDate <=", value, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateIn(List<Date> values) {
            addCriterion("ValidDate in", values, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateNotIn(List<Date> values) {
            addCriterion("ValidDate not in", values, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateBetween(Date value1, Date value2) {
            addCriterion("ValidDate between", value1, value2, "validdate");
            return (Criteria) this;
        }

        public Criteria andValiddateNotBetween(Date value1, Date value2) {
            addCriterion("ValidDate not between", value1, value2, "validdate");
            return (Criteria) this;
        }

        public Criteria andHealthstatusIsNull() {
            addCriterion("HealthStatus is null");
            return (Criteria) this;
        }

        public Criteria andHealthstatusIsNotNull() {
            addCriterion("HealthStatus is not null");
            return (Criteria) this;
        }

        public Criteria andHealthstatusEqualTo(String value) {
            addCriterion("HealthStatus =", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusNotEqualTo(String value) {
            addCriterion("HealthStatus <>", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusGreaterThan(String value) {
            addCriterion("HealthStatus >", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusGreaterThanOrEqualTo(String value) {
            addCriterion("HealthStatus >=", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusLessThan(String value) {
            addCriterion("HealthStatus <", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusLessThanOrEqualTo(String value) {
            addCriterion("HealthStatus <=", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusLike(String value) {
            addCriterion("HealthStatus like", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusNotLike(String value) {
            addCriterion("HealthStatus not like", value, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusIn(List<String> values) {
            addCriterion("HealthStatus in", values, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusNotIn(List<String> values) {
            addCriterion("HealthStatus not in", values, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusBetween(String value1, String value2) {
            addCriterion("HealthStatus between", value1, value2, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andHealthstatusNotBetween(String value1, String value2) {
            addCriterion("HealthStatus not between", value1, value2, "healthstatus");
            return (Criteria) this;
        }

        public Criteria andSaleremarkIsNull() {
            addCriterion("SaleRemark is null");
            return (Criteria) this;
        }

        public Criteria andSaleremarkIsNotNull() {
            addCriterion("SaleRemark is not null");
            return (Criteria) this;
        }

        public Criteria andSaleremarkEqualTo(String value) {
            addCriterion("SaleRemark =", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkNotEqualTo(String value) {
            addCriterion("SaleRemark <>", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkGreaterThan(String value) {
            addCriterion("SaleRemark >", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkGreaterThanOrEqualTo(String value) {
            addCriterion("SaleRemark >=", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkLessThan(String value) {
            addCriterion("SaleRemark <", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkLessThanOrEqualTo(String value) {
            addCriterion("SaleRemark <=", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkLike(String value) {
            addCriterion("SaleRemark like", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkNotLike(String value) {
            addCriterion("SaleRemark not like", value, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkIn(List<String> values) {
            addCriterion("SaleRemark in", values, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkNotIn(List<String> values) {
            addCriterion("SaleRemark not in", values, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkBetween(String value1, String value2) {
            addCriterion("SaleRemark between", value1, value2, "saleremark");
            return (Criteria) this;
        }

        public Criteria andSaleremarkNotBetween(String value1, String value2) {
            addCriterion("SaleRemark not between", value1, value2, "saleremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkIsNull() {
            addCriterion("ServiceRemark is null");
            return (Criteria) this;
        }

        public Criteria andServiceremarkIsNotNull() {
            addCriterion("ServiceRemark is not null");
            return (Criteria) this;
        }

        public Criteria andServiceremarkEqualTo(String value) {
            addCriterion("ServiceRemark =", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkNotEqualTo(String value) {
            addCriterion("ServiceRemark <>", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkGreaterThan(String value) {
            addCriterion("ServiceRemark >", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkGreaterThanOrEqualTo(String value) {
            addCriterion("ServiceRemark >=", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkLessThan(String value) {
            addCriterion("ServiceRemark <", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkLessThanOrEqualTo(String value) {
            addCriterion("ServiceRemark <=", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkLike(String value) {
            addCriterion("ServiceRemark like", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkNotLike(String value) {
            addCriterion("ServiceRemark not like", value, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkIn(List<String> values) {
            addCriterion("ServiceRemark in", values, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkNotIn(List<String> values) {
            addCriterion("ServiceRemark not in", values, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkBetween(String value1, String value2) {
            addCriterion("ServiceRemark between", value1, value2, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andServiceremarkNotBetween(String value1, String value2) {
            addCriterion("ServiceRemark not between", value1, value2, "serviceremark");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIsNull() {
            addCriterion("DeptCode is null");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIsNotNull() {
            addCriterion("DeptCode is not null");
            return (Criteria) this;
        }

        public Criteria andDeptcodeEqualTo(String value) {
            addCriterion("DeptCode =", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotEqualTo(String value) {
            addCriterion("DeptCode <>", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeGreaterThan(String value) {
            addCriterion("DeptCode >", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeGreaterThanOrEqualTo(String value) {
            addCriterion("DeptCode >=", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLessThan(String value) {
            addCriterion("DeptCode <", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLessThanOrEqualTo(String value) {
            addCriterion("DeptCode <=", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLike(String value) {
            addCriterion("DeptCode like", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotLike(String value) {
            addCriterion("DeptCode not like", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIn(List<String> values) {
            addCriterion("DeptCode in", values, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotIn(List<String> values) {
            addCriterion("DeptCode not in", values, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeBetween(String value1, String value2) {
            addCriterion("DeptCode between", value1, value2, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotBetween(String value1, String value2) {
            addCriterion("DeptCode not between", value1, value2, "deptcode");
            return (Criteria) this;
        }

        public Criteria andCalltimesIsNull() {
            addCriterion("CallTimes is null");
            return (Criteria) this;
        }

        public Criteria andCalltimesIsNotNull() {
            addCriterion("CallTimes is not null");
            return (Criteria) this;
        }

        public Criteria andCalltimesEqualTo(Integer value) {
            addCriterion("CallTimes =", value, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesNotEqualTo(Integer value) {
            addCriterion("CallTimes <>", value, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesGreaterThan(Integer value) {
            addCriterion("CallTimes >", value, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("CallTimes >=", value, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesLessThan(Integer value) {
            addCriterion("CallTimes <", value, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesLessThanOrEqualTo(Integer value) {
            addCriterion("CallTimes <=", value, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesIn(List<Integer> values) {
            addCriterion("CallTimes in", values, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesNotIn(List<Integer> values) {
            addCriterion("CallTimes not in", values, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesBetween(Integer value1, Integer value2) {
            addCriterion("CallTimes between", value1, value2, "calltimes");
            return (Criteria) this;
        }

        public Criteria andCalltimesNotBetween(Integer value1, Integer value2) {
            addCriterion("CallTimes not between", value1, value2, "calltimes");
            return (Criteria) this;
        }

        public Criteria andLastcallinIsNull() {
            addCriterion("LastCallIn is null");
            return (Criteria) this;
        }

        public Criteria andLastcallinIsNotNull() {
            addCriterion("LastCallIn is not null");
            return (Criteria) this;
        }

        public Criteria andLastcallinEqualTo(Date value) {
            addCriterion("LastCallIn =", value, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinNotEqualTo(Date value) {
            addCriterion("LastCallIn <>", value, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinGreaterThan(Date value) {
            addCriterion("LastCallIn >", value, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinGreaterThanOrEqualTo(Date value) {
            addCriterion("LastCallIn >=", value, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinLessThan(Date value) {
            addCriterion("LastCallIn <", value, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinLessThanOrEqualTo(Date value) {
            addCriterion("LastCallIn <=", value, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinIn(List<Date> values) {
            addCriterion("LastCallIn in", values, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinNotIn(List<Date> values) {
            addCriterion("LastCallIn not in", values, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinBetween(Date value1, Date value2) {
            addCriterion("LastCallIn between", value1, value2, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcallinNotBetween(Date value1, Date value2) {
            addCriterion("LastCallIn not between", value1, value2, "lastcallin");
            return (Criteria) this;
        }

        public Criteria andLastcalloutIsNull() {
            addCriterion("LastCallOut is null");
            return (Criteria) this;
        }

        public Criteria andLastcalloutIsNotNull() {
            addCriterion("LastCallOut is not null");
            return (Criteria) this;
        }

        public Criteria andLastcalloutEqualTo(Date value) {
            addCriterion("LastCallOut =", value, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutNotEqualTo(Date value) {
            addCriterion("LastCallOut <>", value, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutGreaterThan(Date value) {
            addCriterion("LastCallOut >", value, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutGreaterThanOrEqualTo(Date value) {
            addCriterion("LastCallOut >=", value, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutLessThan(Date value) {
            addCriterion("LastCallOut <", value, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutLessThanOrEqualTo(Date value) {
            addCriterion("LastCallOut <=", value, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutIn(List<Date> values) {
            addCriterion("LastCallOut in", values, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutNotIn(List<Date> values) {
            addCriterion("LastCallOut not in", values, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutBetween(Date value1, Date value2) {
            addCriterion("LastCallOut between", value1, value2, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andLastcalloutNotBetween(Date value1, Date value2) {
            addCriterion("LastCallOut not between", value1, value2, "lastcallout");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("Reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("Reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(String value) {
            addCriterion("Reason =", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotEqualTo(String value) {
            addCriterion("Reason <>", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThan(String value) {
            addCriterion("Reason >", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("Reason >=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThan(String value) {
            addCriterion("Reason <", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("Reason <=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLike(String value) {
            addCriterion("Reason like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotLike(String value) {
            addCriterion("Reason not like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonIn(List<String> values) {
            addCriterion("Reason in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotIn(List<String> values) {
            addCriterion("Reason not in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonBetween(String value1, String value2) {
            addCriterion("Reason between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotBetween(String value1, String value2) {
            addCriterion("Reason not between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andNextdateIsNull() {
            addCriterion("NextDate is null");
            return (Criteria) this;
        }

        public Criteria andNextdateIsNotNull() {
            addCriterion("NextDate is not null");
            return (Criteria) this;
        }

        public Criteria andNextdateEqualTo(Date value) {
            addCriterion("NextDate =", value, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateNotEqualTo(Date value) {
            addCriterion("NextDate <>", value, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateGreaterThan(Date value) {
            addCriterion("NextDate >", value, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateGreaterThanOrEqualTo(Date value) {
            addCriterion("NextDate >=", value, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateLessThan(Date value) {
            addCriterion("NextDate <", value, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateLessThanOrEqualTo(Date value) {
            addCriterion("NextDate <=", value, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateIn(List<Date> values) {
            addCriterion("NextDate in", values, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateNotIn(List<Date> values) {
            addCriterion("NextDate not in", values, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateBetween(Date value1, Date value2) {
            addCriterion("NextDate between", value1, value2, "nextdate");
            return (Criteria) this;
        }

        public Criteria andNextdateNotBetween(Date value1, Date value2) {
            addCriterion("NextDate not between", value1, value2, "nextdate");
            return (Criteria) this;
        }

        public Criteria andVisittimesIsNull() {
            addCriterion("VisitTimes is null");
            return (Criteria) this;
        }

        public Criteria andVisittimesIsNotNull() {
            addCriterion("VisitTimes is not null");
            return (Criteria) this;
        }

        public Criteria andVisittimesEqualTo(Integer value) {
            addCriterion("VisitTimes =", value, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesNotEqualTo(Integer value) {
            addCriterion("VisitTimes <>", value, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesGreaterThan(Integer value) {
            addCriterion("VisitTimes >", value, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("VisitTimes >=", value, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesLessThan(Integer value) {
            addCriterion("VisitTimes <", value, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesLessThanOrEqualTo(Integer value) {
            addCriterion("VisitTimes <=", value, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesIn(List<Integer> values) {
            addCriterion("VisitTimes in", values, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesNotIn(List<Integer> values) {
            addCriterion("VisitTimes not in", values, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesBetween(Integer value1, Integer value2) {
            addCriterion("VisitTimes between", value1, value2, "visittimes");
            return (Criteria) this;
        }

        public Criteria andVisittimesNotBetween(Integer value1, Integer value2) {
            addCriterion("VisitTimes not between", value1, value2, "visittimes");
            return (Criteria) this;
        }

        public Criteria andFirstdateIsNull() {
            addCriterion("FirstDate is null");
            return (Criteria) this;
        }

        public Criteria andFirstdateIsNotNull() {
            addCriterion("FirstDate is not null");
            return (Criteria) this;
        }

        public Criteria andFirstdateEqualTo(Date value) {
            addCriterion("FirstDate =", value, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateNotEqualTo(Date value) {
            addCriterion("FirstDate <>", value, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateGreaterThan(Date value) {
            addCriterion("FirstDate >", value, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateGreaterThanOrEqualTo(Date value) {
            addCriterion("FirstDate >=", value, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateLessThan(Date value) {
            addCriterion("FirstDate <", value, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateLessThanOrEqualTo(Date value) {
            addCriterion("FirstDate <=", value, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateIn(List<Date> values) {
            addCriterion("FirstDate in", values, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateNotIn(List<Date> values) {
            addCriterion("FirstDate not in", values, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateBetween(Date value1, Date value2) {
            addCriterion("FirstDate between", value1, value2, "firstdate");
            return (Criteria) this;
        }

        public Criteria andFirstdateNotBetween(Date value1, Date value2) {
            addCriterion("FirstDate not between", value1, value2, "firstdate");
            return (Criteria) this;
        }

        public Criteria andTicketamtIsNull() {
            addCriterion("TicketAmt is null");
            return (Criteria) this;
        }

        public Criteria andTicketamtIsNotNull() {
            addCriterion("TicketAmt is not null");
            return (Criteria) this;
        }

        public Criteria andTicketamtEqualTo(BigDecimal value) {
            addCriterion("TicketAmt =", value, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtNotEqualTo(BigDecimal value) {
            addCriterion("TicketAmt <>", value, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtGreaterThan(BigDecimal value) {
            addCriterion("TicketAmt >", value, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TicketAmt >=", value, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtLessThan(BigDecimal value) {
            addCriterion("TicketAmt <", value, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TicketAmt <=", value, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtIn(List<BigDecimal> values) {
            addCriterion("TicketAmt in", values, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtNotIn(List<BigDecimal> values) {
            addCriterion("TicketAmt not in", values, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TicketAmt between", value1, value2, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTicketamtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TicketAmt not between", value1, value2, "ticketamt");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateIsNull() {
            addCriterion("TValidSDate is null");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateIsNotNull() {
            addCriterion("TValidSDate is not null");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateEqualTo(Date value) {
            addCriterion("TValidSDate =", value, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateNotEqualTo(Date value) {
            addCriterion("TValidSDate <>", value, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateGreaterThan(Date value) {
            addCriterion("TValidSDate >", value, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateGreaterThanOrEqualTo(Date value) {
            addCriterion("TValidSDate >=", value, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateLessThan(Date value) {
            addCriterion("TValidSDate <", value, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateLessThanOrEqualTo(Date value) {
            addCriterion("TValidSDate <=", value, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateIn(List<Date> values) {
            addCriterion("TValidSDate in", values, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateNotIn(List<Date> values) {
            addCriterion("TValidSDate not in", values, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateBetween(Date value1, Date value2) {
            addCriterion("TValidSDate between", value1, value2, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidsdateNotBetween(Date value1, Date value2) {
            addCriterion("TValidSDate not between", value1, value2, "tvalidsdate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateIsNull() {
            addCriterion("TValidEDate is null");
            return (Criteria) this;
        }

        public Criteria andTvalidedateIsNotNull() {
            addCriterion("TValidEDate is not null");
            return (Criteria) this;
        }

        public Criteria andTvalidedateEqualTo(Date value) {
            addCriterion("TValidEDate =", value, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateNotEqualTo(Date value) {
            addCriterion("TValidEDate <>", value, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateGreaterThan(Date value) {
            addCriterion("TValidEDate >", value, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateGreaterThanOrEqualTo(Date value) {
            addCriterion("TValidEDate >=", value, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateLessThan(Date value) {
            addCriterion("TValidEDate <", value, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateLessThanOrEqualTo(Date value) {
            addCriterion("TValidEDate <=", value, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateIn(List<Date> values) {
            addCriterion("TValidEDate in", values, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateNotIn(List<Date> values) {
            addCriterion("TValidEDate not in", values, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateBetween(Date value1, Date value2) {
            addCriterion("TValidEDate between", value1, value2, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andTvalidedateNotBetween(Date value1, Date value2) {
            addCriterion("TValidEDate not between", value1, value2, "tvalidedate");
            return (Criteria) this;
        }

        public Criteria andPrecontractIsNull() {
            addCriterion("PreContract is null");
            return (Criteria) this;
        }

        public Criteria andPrecontractIsNotNull() {
            addCriterion("PreContract is not null");
            return (Criteria) this;
        }

        public Criteria andPrecontractEqualTo(String value) {
            addCriterion("PreContract =", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractNotEqualTo(String value) {
            addCriterion("PreContract <>", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractGreaterThan(String value) {
            addCriterion("PreContract >", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractGreaterThanOrEqualTo(String value) {
            addCriterion("PreContract >=", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractLessThan(String value) {
            addCriterion("PreContract <", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractLessThanOrEqualTo(String value) {
            addCriterion("PreContract <=", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractLike(String value) {
            addCriterion("PreContract like", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractNotLike(String value) {
            addCriterion("PreContract not like", value, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractIn(List<String> values) {
            addCriterion("PreContract in", values, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractNotIn(List<String> values) {
            addCriterion("PreContract not in", values, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractBetween(String value1, String value2) {
            addCriterion("PreContract between", value1, value2, "precontract");
            return (Criteria) this;
        }

        public Criteria andPrecontractNotBetween(String value1, String value2) {
            addCriterion("PreContract not between", value1, value2, "precontract");
            return (Criteria) this;
        }

        public Criteria andNextcalldateIsNull() {
            addCriterion("NextCallDate is null");
            return (Criteria) this;
        }

        public Criteria andNextcalldateIsNotNull() {
            addCriterion("NextCallDate is not null");
            return (Criteria) this;
        }

        public Criteria andNextcalldateEqualTo(Date value) {
            addCriterion("NextCallDate =", value, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateNotEqualTo(Date value) {
            addCriterion("NextCallDate <>", value, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateGreaterThan(Date value) {
            addCriterion("NextCallDate >", value, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateGreaterThanOrEqualTo(Date value) {
            addCriterion("NextCallDate >=", value, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateLessThan(Date value) {
            addCriterion("NextCallDate <", value, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateLessThanOrEqualTo(Date value) {
            addCriterion("NextCallDate <=", value, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateIn(List<Date> values) {
            addCriterion("NextCallDate in", values, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateNotIn(List<Date> values) {
            addCriterion("NextCallDate not in", values, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateBetween(Date value1, Date value2) {
            addCriterion("NextCallDate between", value1, value2, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNextcalldateNotBetween(Date value1, Date value2) {
            addCriterion("NextCallDate not between", value1, value2, "nextcalldate");
            return (Criteria) this;
        }

        public Criteria andNotprereasonIsNull() {
            addCriterion("NotPreReason is null");
            return (Criteria) this;
        }

        public Criteria andNotprereasonIsNotNull() {
            addCriterion("NotPreReason is not null");
            return (Criteria) this;
        }

        public Criteria andNotprereasonEqualTo(String value) {
            addCriterion("NotPreReason =", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonNotEqualTo(String value) {
            addCriterion("NotPreReason <>", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonGreaterThan(String value) {
            addCriterion("NotPreReason >", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonGreaterThanOrEqualTo(String value) {
            addCriterion("NotPreReason >=", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonLessThan(String value) {
            addCriterion("NotPreReason <", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonLessThanOrEqualTo(String value) {
            addCriterion("NotPreReason <=", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonLike(String value) {
            addCriterion("NotPreReason like", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonNotLike(String value) {
            addCriterion("NotPreReason not like", value, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonIn(List<String> values) {
            addCriterion("NotPreReason in", values, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonNotIn(List<String> values) {
            addCriterion("NotPreReason not in", values, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonBetween(String value1, String value2) {
            addCriterion("NotPreReason between", value1, value2, "notprereason");
            return (Criteria) this;
        }

        public Criteria andNotprereasonNotBetween(String value1, String value2) {
            addCriterion("NotPreReason not between", value1, value2, "notprereason");
            return (Criteria) this;
        }

        public Criteria andBalatypeIsNull() {
            addCriterion("BalaType is null");
            return (Criteria) this;
        }

        public Criteria andBalatypeIsNotNull() {
            addCriterion("BalaType is not null");
            return (Criteria) this;
        }

        public Criteria andBalatypeEqualTo(String value) {
            addCriterion("BalaType =", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeNotEqualTo(String value) {
            addCriterion("BalaType <>", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeGreaterThan(String value) {
            addCriterion("BalaType >", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeGreaterThanOrEqualTo(String value) {
            addCriterion("BalaType >=", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeLessThan(String value) {
            addCriterion("BalaType <", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeLessThanOrEqualTo(String value) {
            addCriterion("BalaType <=", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeLike(String value) {
            addCriterion("BalaType like", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeNotLike(String value) {
            addCriterion("BalaType not like", value, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeIn(List<String> values) {
            addCriterion("BalaType in", values, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeNotIn(List<String> values) {
            addCriterion("BalaType not in", values, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeBetween(String value1, String value2) {
            addCriterion("BalaType between", value1, value2, "balatype");
            return (Criteria) this;
        }

        public Criteria andBalatypeNotBetween(String value1, String value2) {
            addCriterion("BalaType not between", value1, value2, "balatype");
            return (Criteria) this;
        }

        public Criteria andOosplanIsNull() {
            addCriterion("OOSPlan is null");
            return (Criteria) this;
        }

        public Criteria andOosplanIsNotNull() {
            addCriterion("OOSPlan is not null");
            return (Criteria) this;
        }

        public Criteria andOosplanEqualTo(String value) {
            addCriterion("OOSPlan =", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanNotEqualTo(String value) {
            addCriterion("OOSPlan <>", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanGreaterThan(String value) {
            addCriterion("OOSPlan >", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanGreaterThanOrEqualTo(String value) {
            addCriterion("OOSPlan >=", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanLessThan(String value) {
            addCriterion("OOSPlan <", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanLessThanOrEqualTo(String value) {
            addCriterion("OOSPlan <=", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanLike(String value) {
            addCriterion("OOSPlan like", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanNotLike(String value) {
            addCriterion("OOSPlan not like", value, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanIn(List<String> values) {
            addCriterion("OOSPlan in", values, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanNotIn(List<String> values) {
            addCriterion("OOSPlan not in", values, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanBetween(String value1, String value2) {
            addCriterion("OOSPlan between", value1, value2, "oosplan");
            return (Criteria) this;
        }

        public Criteria andOosplanNotBetween(String value1, String value2) {
            addCriterion("OOSPlan not between", value1, value2, "oosplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanIsNull() {
            addCriterion("SplithAmtPlan is null");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanIsNotNull() {
            addCriterion("SplithAmtPlan is not null");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanEqualTo(String value) {
            addCriterion("SplithAmtPlan =", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanNotEqualTo(String value) {
            addCriterion("SplithAmtPlan <>", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanGreaterThan(String value) {
            addCriterion("SplithAmtPlan >", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanGreaterThanOrEqualTo(String value) {
            addCriterion("SplithAmtPlan >=", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanLessThan(String value) {
            addCriterion("SplithAmtPlan <", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanLessThanOrEqualTo(String value) {
            addCriterion("SplithAmtPlan <=", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanLike(String value) {
            addCriterion("SplithAmtPlan like", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanNotLike(String value) {
            addCriterion("SplithAmtPlan not like", value, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanIn(List<String> values) {
            addCriterion("SplithAmtPlan in", values, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanNotIn(List<String> values) {
            addCriterion("SplithAmtPlan not in", values, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanBetween(String value1, String value2) {
            addCriterion("SplithAmtPlan between", value1, value2, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andSplithamtplanNotBetween(String value1, String value2) {
            addCriterion("SplithAmtPlan not between", value1, value2, "splithamtplan");
            return (Criteria) this;
        }

        public Criteria andNeedbillIsNull() {
            addCriterion("NeedBill is null");
            return (Criteria) this;
        }

        public Criteria andNeedbillIsNotNull() {
            addCriterion("NeedBill is not null");
            return (Criteria) this;
        }

        public Criteria andNeedbillEqualTo(Integer value) {
            addCriterion("NeedBill =", value, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillNotEqualTo(Integer value) {
            addCriterion("NeedBill <>", value, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillGreaterThan(Integer value) {
            addCriterion("NeedBill >", value, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillGreaterThanOrEqualTo(Integer value) {
            addCriterion("NeedBill >=", value, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillLessThan(Integer value) {
            addCriterion("NeedBill <", value, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillLessThanOrEqualTo(Integer value) {
            addCriterion("NeedBill <=", value, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillIn(List<Integer> values) {
            addCriterion("NeedBill in", values, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillNotIn(List<Integer> values) {
            addCriterion("NeedBill not in", values, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillBetween(Integer value1, Integer value2) {
            addCriterion("NeedBill between", value1, value2, "needbill");
            return (Criteria) this;
        }

        public Criteria andNeedbillNotBetween(Integer value1, Integer value2) {
            addCriterion("NeedBill not between", value1, value2, "needbill");
            return (Criteria) this;
        }

        public Criteria andBilltitleIsNull() {
            addCriterion("BillTitle is null");
            return (Criteria) this;
        }

        public Criteria andBilltitleIsNotNull() {
            addCriterion("BillTitle is not null");
            return (Criteria) this;
        }

        public Criteria andBilltitleEqualTo(String value) {
            addCriterion("BillTitle =", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleNotEqualTo(String value) {
            addCriterion("BillTitle <>", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleGreaterThan(String value) {
            addCriterion("BillTitle >", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleGreaterThanOrEqualTo(String value) {
            addCriterion("BillTitle >=", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleLessThan(String value) {
            addCriterion("BillTitle <", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleLessThanOrEqualTo(String value) {
            addCriterion("BillTitle <=", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleLike(String value) {
            addCriterion("BillTitle like", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleNotLike(String value) {
            addCriterion("BillTitle not like", value, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleIn(List<String> values) {
            addCriterion("BillTitle in", values, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleNotIn(List<String> values) {
            addCriterion("BillTitle not in", values, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleBetween(String value1, String value2) {
            addCriterion("BillTitle between", value1, value2, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilltitleNotBetween(String value1, String value2) {
            addCriterion("BillTitle not between", value1, value2, "billtitle");
            return (Criteria) this;
        }

        public Criteria andBilldetailIsNull() {
            addCriterion("BillDetail is null");
            return (Criteria) this;
        }

        public Criteria andBilldetailIsNotNull() {
            addCriterion("BillDetail is not null");
            return (Criteria) this;
        }

        public Criteria andBilldetailEqualTo(String value) {
            addCriterion("BillDetail =", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailNotEqualTo(String value) {
            addCriterion("BillDetail <>", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailGreaterThan(String value) {
            addCriterion("BillDetail >", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailGreaterThanOrEqualTo(String value) {
            addCriterion("BillDetail >=", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailLessThan(String value) {
            addCriterion("BillDetail <", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailLessThanOrEqualTo(String value) {
            addCriterion("BillDetail <=", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailLike(String value) {
            addCriterion("BillDetail like", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailNotLike(String value) {
            addCriterion("BillDetail not like", value, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailIn(List<String> values) {
            addCriterion("BillDetail in", values, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailNotIn(List<String> values) {
            addCriterion("BillDetail not in", values, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailBetween(String value1, String value2) {
            addCriterion("BillDetail between", value1, value2, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBilldetailNotBetween(String value1, String value2) {
            addCriterion("BillDetail not between", value1, value2, "billdetail");
            return (Criteria) this;
        }

        public Criteria andBanknameIsNull() {
            addCriterion("BankName is null");
            return (Criteria) this;
        }

        public Criteria andBanknameIsNotNull() {
            addCriterion("BankName is not null");
            return (Criteria) this;
        }

        public Criteria andBanknameEqualTo(String value) {
            addCriterion("BankName =", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotEqualTo(String value) {
            addCriterion("BankName <>", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameGreaterThan(String value) {
            addCriterion("BankName >", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameGreaterThanOrEqualTo(String value) {
            addCriterion("BankName >=", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLessThan(String value) {
            addCriterion("BankName <", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLessThanOrEqualTo(String value) {
            addCriterion("BankName <=", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLike(String value) {
            addCriterion("BankName like", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotLike(String value) {
            addCriterion("BankName not like", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameIn(List<String> values) {
            addCriterion("BankName in", values, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotIn(List<String> values) {
            addCriterion("BankName not in", values, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameBetween(String value1, String value2) {
            addCriterion("BankName between", value1, value2, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotBetween(String value1, String value2) {
            addCriterion("BankName not between", value1, value2, "bankname");
            return (Criteria) this;
        }

        public Criteria andCardnameIsNull() {
            addCriterion("CardName is null");
            return (Criteria) this;
        }

        public Criteria andCardnameIsNotNull() {
            addCriterion("CardName is not null");
            return (Criteria) this;
        }

        public Criteria andCardnameEqualTo(String value) {
            addCriterion("CardName =", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameNotEqualTo(String value) {
            addCriterion("CardName <>", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameGreaterThan(String value) {
            addCriterion("CardName >", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameGreaterThanOrEqualTo(String value) {
            addCriterion("CardName >=", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameLessThan(String value) {
            addCriterion("CardName <", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameLessThanOrEqualTo(String value) {
            addCriterion("CardName <=", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameLike(String value) {
            addCriterion("CardName like", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameNotLike(String value) {
            addCriterion("CardName not like", value, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameIn(List<String> values) {
            addCriterion("CardName in", values, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameNotIn(List<String> values) {
            addCriterion("CardName not in", values, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameBetween(String value1, String value2) {
            addCriterion("CardName between", value1, value2, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardnameNotBetween(String value1, String value2) {
            addCriterion("CardName not between", value1, value2, "cardname");
            return (Criteria) this;
        }

        public Criteria andCardcodeIsNull() {
            addCriterion("CardCode is null");
            return (Criteria) this;
        }

        public Criteria andCardcodeIsNotNull() {
            addCriterion("CardCode is not null");
            return (Criteria) this;
        }

        public Criteria andCardcodeEqualTo(String value) {
            addCriterion("CardCode =", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeNotEqualTo(String value) {
            addCriterion("CardCode <>", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeGreaterThan(String value) {
            addCriterion("CardCode >", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeGreaterThanOrEqualTo(String value) {
            addCriterion("CardCode >=", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeLessThan(String value) {
            addCriterion("CardCode <", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeLessThanOrEqualTo(String value) {
            addCriterion("CardCode <=", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeLike(String value) {
            addCriterion("CardCode like", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeNotLike(String value) {
            addCriterion("CardCode not like", value, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeIn(List<String> values) {
            addCriterion("CardCode in", values, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeNotIn(List<String> values) {
            addCriterion("CardCode not in", values, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeBetween(String value1, String value2) {
            addCriterion("CardCode between", value1, value2, "cardcode");
            return (Criteria) this;
        }

        public Criteria andCardcodeNotBetween(String value1, String value2) {
            addCriterion("CardCode not between", value1, value2, "cardcode");
            return (Criteria) this;
        }

        public Criteria andPaypwdIsNull() {
            addCriterion("PayPWD is null");
            return (Criteria) this;
        }

        public Criteria andPaypwdIsNotNull() {
            addCriterion("PayPWD is not null");
            return (Criteria) this;
        }

        public Criteria andPaypwdEqualTo(String value) {
            addCriterion("PayPWD =", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdNotEqualTo(String value) {
            addCriterion("PayPWD <>", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdGreaterThan(String value) {
            addCriterion("PayPWD >", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdGreaterThanOrEqualTo(String value) {
            addCriterion("PayPWD >=", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdLessThan(String value) {
            addCriterion("PayPWD <", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdLessThanOrEqualTo(String value) {
            addCriterion("PayPWD <=", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdLike(String value) {
            addCriterion("PayPWD like", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdNotLike(String value) {
            addCriterion("PayPWD not like", value, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdIn(List<String> values) {
            addCriterion("PayPWD in", values, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdNotIn(List<String> values) {
            addCriterion("PayPWD not in", values, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdBetween(String value1, String value2) {
            addCriterion("PayPWD between", value1, value2, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPaypwdNotBetween(String value1, String value2) {
            addCriterion("PayPWD not between", value1, value2, "paypwd");
            return (Criteria) this;
        }

        public Criteria andPointmulIsNull() {
            addCriterion("PointMul is null");
            return (Criteria) this;
        }

        public Criteria andPointmulIsNotNull() {
            addCriterion("PointMul is not null");
            return (Criteria) this;
        }

        public Criteria andPointmulEqualTo(BigDecimal value) {
            addCriterion("PointMul =", value, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulNotEqualTo(BigDecimal value) {
            addCriterion("PointMul <>", value, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulGreaterThan(BigDecimal value) {
            addCriterion("PointMul >", value, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PointMul >=", value, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulLessThan(BigDecimal value) {
            addCriterion("PointMul <", value, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PointMul <=", value, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulIn(List<BigDecimal> values) {
            addCriterion("PointMul in", values, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulNotIn(List<BigDecimal> values) {
            addCriterion("PointMul not in", values, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PointMul between", value1, value2, "pointmul");
            return (Criteria) this;
        }

        public Criteria andPointmulNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PointMul not between", value1, value2, "pointmul");
            return (Criteria) this;
        }

        public Criteria andMulstartdateIsNull() {
            addCriterion("MulStartDate is null");
            return (Criteria) this;
        }

        public Criteria andMulstartdateIsNotNull() {
            addCriterion("MulStartDate is not null");
            return (Criteria) this;
        }

        public Criteria andMulstartdateEqualTo(Date value) {
            addCriterion("MulStartDate =", value, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateNotEqualTo(Date value) {
            addCriterion("MulStartDate <>", value, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateGreaterThan(Date value) {
            addCriterion("MulStartDate >", value, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateGreaterThanOrEqualTo(Date value) {
            addCriterion("MulStartDate >=", value, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateLessThan(Date value) {
            addCriterion("MulStartDate <", value, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateLessThanOrEqualTo(Date value) {
            addCriterion("MulStartDate <=", value, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateIn(List<Date> values) {
            addCriterion("MulStartDate in", values, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateNotIn(List<Date> values) {
            addCriterion("MulStartDate not in", values, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateBetween(Date value1, Date value2) {
            addCriterion("MulStartDate between", value1, value2, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andMulstartdateNotBetween(Date value1, Date value2) {
            addCriterion("MulStartDate not between", value1, value2, "mulstartdate");
            return (Criteria) this;
        }

        public Criteria andActivedegreeIsNull() {
            addCriterion("ActiveDegree is null");
            return (Criteria) this;
        }

        public Criteria andActivedegreeIsNotNull() {
            addCriterion("ActiveDegree is not null");
            return (Criteria) this;
        }

        public Criteria andActivedegreeEqualTo(String value) {
            addCriterion("ActiveDegree =", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeNotEqualTo(String value) {
            addCriterion("ActiveDegree <>", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeGreaterThan(String value) {
            addCriterion("ActiveDegree >", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeGreaterThanOrEqualTo(String value) {
            addCriterion("ActiveDegree >=", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeLessThan(String value) {
            addCriterion("ActiveDegree <", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeLessThanOrEqualTo(String value) {
            addCriterion("ActiveDegree <=", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeLike(String value) {
            addCriterion("ActiveDegree like", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeNotLike(String value) {
            addCriterion("ActiveDegree not like", value, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeIn(List<String> values) {
            addCriterion("ActiveDegree in", values, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeNotIn(List<String> values) {
            addCriterion("ActiveDegree not in", values, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeBetween(String value1, String value2) {
            addCriterion("ActiveDegree between", value1, value2, "activedegree");
            return (Criteria) this;
        }

        public Criteria andActivedegreeNotBetween(String value1, String value2) {
            addCriterion("ActiveDegree not between", value1, value2, "activedegree");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}